@layout("/common/_container.html",{js:["/assets/business/certification/certification.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">实名认证管理</span>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <input id="userName" class="layui-input" type="text" placeholder="用户昵称"/>
                            </div>
                            <div class="layui-inline">
                                <select id="modeFlag">
                                    <option value="">认证方式</option>
                                    <option value="0">银行卡号</option>
                                    <option value="1">支付宝</option>
                                    <option value="2">身份照</option>
                                </select>
                            </div>
                            <div class="layui-inline">
                                <select id="statusFlag">
                                    <option value="">审批状态</option>
                                    <option value="0">审批中</option>
                                    <option value="1">通过</option>
                                    <option value="2">拒绝</option>
                                </select>
                            </div>
                            <div class="layui-inline">
                                <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
                                <!--<button id="btnAdd" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>添加</button>-->
                                <button id="btnExp" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>导出</button>
                            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="certificationTable" lay-filter="certificationTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="tableBar">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">{{d.status==0?'审核':'查看详情'}}</a>
</script>
<script type="text/html" id="statusTpl">
    <div style="color: red">
        {{d.status==0? '审批中':d.status==1?'通过':'拒绝'}}
    </div>
</script>
<script type="text/html" id="modeTpl">
    <div style="color: red">
        {{d.mode==0? '银行卡号':d.status==1?'支付宝':'身份证'}}
    </div>
</script>
@}